package com.second.oa.web.vo;

import com.second.oa.domain.Employee;

public class EmailVo {

	/**
	 * 发送者
	 */
	private Employee sender;
	/**
	 * 邮件的标题
	 */
	private String title;
	/**
	 * 邮件的描述
	 */
	private String tags;
	/**
	 * 邮件的接受者的empno
	 */
	private String empno;
	/**
	 * 邮件的内容
	 */
	private String content;
	/**
	 * 是否读取状态码 
	 * 0未读
	 * 1已读
	 */
	private int isRead;
	public Employee getSender() {
		return sender;
	}
	public void setSender(Employee sender) {
		this.sender = sender;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getTags() {
		return tags;
	}
	public void setTags(String tags) {
		this.tags = tags;
	}
	public String getEmpno() {
		return empno;
	}
	public void setEmpno(String empno) {
		this.empno = empno;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public int getIsRead() {
		return isRead;
	}
	public void setIsRead(int isRead) {
		this.isRead = isRead;
	}
	public EmailVo(Employee sender, String title, String tags, String empno,
			String content, int isRead) {
		super();
		this.sender = sender;
		this.title = title;
		this.tags = tags;
		this.empno = empno;
		this.content = content;
		this.isRead = isRead;
	}
	public EmailVo() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "EmailVo [content=" + content + ", empno=" + empno + ", isRead="
				+ isRead + ", sender=" + sender + ", tags=" + tags + ", title="
				+ title + "]";
	}
	
}
